feat(compression): headroom backend, progressive ladder, CCR, columnar packing#65
Conversation
Review (automated, scheduled run)Verdict: ship — solid feature add, ladder logic and fail-open behaviour check out. One operational fix needed before merge. ✅ What I ran
🔧 Blocker — base branch is a stale alias for main
Fix: retarget PR base to 👍 What I verified
|
|
Follow-up to my earlier review — retargeted this PR base from 🤖 Automated follow-up via scheduled triage. |
…r packing - optimize: pluggable backend (native|headroom), lazy fail-open headroom-ai integration; progressive staged compression (compress_progressive) with native CCR offload + fetch-back loop (ccr.py); columnar JSON-array packing (json_array_pack); whitespace fix preserves code indentation. - settings/cli/server: NADIRCLAW_OPTIMIZE adds 'progressive'; OPTIMIZE_BACKEND, target-tokens, max-stage, allow-lossy/offload knobs; serve --optimize progressive. - pyproject: optional [headroom] extra (headroom-ai). Apache-2.0 attribution in THIRD_PARTY_NOTICES.md. - docs + benchmarks + tests (ccr, progressive, json_array_pack, backends, code-safety). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
138ab12 to
15ff7d2
Compare
Adds README usage docs for the context-optimizer compression upgrades (modes, native|headroom backends, progressive staged ladder), a [0.20.0] CHANGELOG entry covering #65, and bumps __version__ to 0.20.0. Co-authored-by: Nadir <info@getnadir.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Context-optimizer upgrades for NadirClaw (single clean commit on top of the verifier branch).
backend= native | headroom. headroom-ai is a lazy, fail-open optional extra (pip install nadirclaw[headroom]) — absent/error falls back to native, byte-identical.compress_progressive): staged ladder native → headroom → offload, stops at a token budget.NADIRCLAW_OPTIMIZEaddsprogressive.ccr.py): deterministic offload +nadir_retrievefetch-back loop (no third-party store).json_array_pack) + whitespace fix that preserves code indentation.Base is the verifier branch so the diff is only the compression commit.
🤖 Generated with Claude Code